<%@ page import="org.knowlege.KnowlegeType" %>



<div class="fieldcontain ${hasErrors(bean: knowlegeTypeInstance, field: 'typeCode', 'error')} ">
	<label for="typeCode">
		<g:message code="knowlegeType.typeCode.label" default="Type Code" />
		
	</label>
	<g:textField name="typeCode" value="${knowlegeTypeInstance?.typeCode}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: knowlegeTypeInstance, field: 'typeName', 'error')} ">
	<label for="typeName">
		<g:message code="knowlegeType.typeName.label" default="Type Name" />
		
	</label>
	<g:textField name="typeName" value="${knowlegeTypeInstance?.typeName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: knowlegeTypeInstance, field: 'priority', 'error')} required">
	<label for="priority">
		<g:message code="knowlegeType.priority.label" default="Priority" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="priority" required="" value="${fieldValue(bean: knowlegeTypeInstance, field: 'priority')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: knowlegeTypeInstance, field: 'remark', 'error')} ">
	<label for="remark">
		<g:message code="knowlegeType.remark.label" default="Remark" />
		
	</label>
	<g:textArea name="remark" cols="40" rows="5" value="${knowlegeTypeInstance?.remark}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: knowlegeTypeInstance, field: 'createUser', 'error')} ">
	<label for="createUser">
		<g:message code="knowlegeType.createUser.label" default="Create User" />
		
	</label>
	<g:textField name="createUser" value="${knowlegeTypeInstance?.createUser}"/>
</div>

